package com.mall.dubbo.api;

import com.mall.dubbo.mappers.UmsAdminMapper;
import com.mall.dubbo.mappers.UmsMenuMapper;
import com.tanhua.model.domain.UmsAdmin;
import com.tanhua.model.domain.UmsMenu;

import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
@DubboService
public class UmsMenuApiImpl implements UmsMenuApi {


    @Autowired
    private UmsMenuMapper umsMenuMapper;

    @Override
    public List<UmsMenu> findByIds(List<Long> menuIds) {
        return umsMenuMapper.selectBatchIds(menuIds);
    }
}
